package com.leesche.zcsp.node.web.dao;

import com.leesche.zcsp.node.web.model.ServOrder;
import com.leesche.zcsp.node.web.model.ServOrderCriteria;
import com.leesche.zcsp.node.web.service.impl.data.read.QueryServOrderCondition;
import com.leesche.zcsp.node.web.service.impl.data.read.ServOrderDto;
import com.leesche.zcsp.node.web.service.impl.data.writ.UpdateServOrderCommad;

public interface ServOrderDao
		extends
		BaseDao<ServOrder, ServOrderCriteria, ServOrderDto, QueryServOrderCondition, Long> {
	/**
	 * 
	* @Title: selectServOrderByOrderNo 
	* @Description: TODO(通过订单查询订单) 
	* @param @param orderno
	* @param @return   
	* @return ServOrder   
	* @throws
	 */
    ServOrder  selectServOrderByOrderNo(String orderno);
	/***
	 * 
	* @Title: updateServOrderByOrderNo 
	* @Description: TODO(通过订单号更新订单状态) 
	* @param @param outTradeNo
	* @param @param transactionId
	* @param @param orderno
	* @param @return   
	* @return int   
	* @throws
	 */
    int  updateServOrderByOrderNo(UpdateServOrderCommad updateServOrderCommad);

}